import { combineReducers} from 'redux';
import siderReducer from './sider-reducer';
import headerReducer from './header-reducer';
import contentReducer from './content-reducer';
import footerReducer from './footer-reducer';

const allReducers = {
    sider: siderReducer,
    header: headerReducer,
    content: contentReducer,
    footer: footerReducer
}

const rootReducer = combineReducers(allReducers);

export default rootReducer;